from typing import *


class Solution:
    def getNoZeroIntegers(self, n: int) -> List[int]:

        def noZero(x):
            while x >= 10:
                if x % 10 == 0:
                    return False
                x //= 10
            return True

        for i in range(1, n):
            if noZero(i) and noZero(n - i):
                return [i, n - i]


def noZero(x):
    while x >= 10:
        if x % 10 == 0:
            return False
        x //= 10
    return True


print(noZero(1009))
